package com.hl.security;

import com.hl.security.config.SecurityConfigInfo;
import com.hl.security.config.WebHlSecurityConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.authentication.encoding.BasePasswordEncoder;
import org.springframework.security.authentication.encoding.ShaPasswordEncoder;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
import org.springframework.security.core.userdetails.UserDetailsService;

/**
 * Created by aaron on 2017/1/12.
 */
@Configuration
@EnableWebSecurity
public class WebCoreSecurityConfig extends WebHlSecurityConfig {

    @Override
    public SecurityConfigInfo getSecurityConfigInfo() {
        return new SecurityConfigInfo();
    }
}
